package com.qyhl.webtv.module_news.news.union.government.detail;


import com.qyhl.webtv.commonlib.entity.news.MeetingRoomBean;
import com.qyhl.webtv.commonlib.entity.news.NewsBean;
import com.qyhl.webtv.commonlib.entity.news.UnionBean;
import com.qyhl.webtv.commonlib.entity.news.UnionRecBean;

import java.util.List;

/**
 * Created by qyhl on 2017/12/1.
 */

public interface GovernmentDetailContract {
    interface GovernmentDetailView {
        void setMiddle(List<UnionBean> beanList);

        void setError(String msg);

        void setEmpty(String msg);

        void setNetError(String msg);

        void setTop(List<NewsBean> beanList);

        void setTopError(String msg);

        void setBottom(List<UnionRecBean> beanList);

        void setBottomError(String msg);

        void getMeetingSuccess(MeetingRoomBean bean);

        void getMeetingError();
    }

    interface GovernemntDetailPresenter {
        void getTop(String sections);

        void getMiddle(String sections);

        void getBottom(String sections);

        void setMiddle(List<UnionBean> beanList);

        void setError(int code, String msg);

        void setTop(List<NewsBean> beanList);

        void setTopError(String msg);

        void setBottom(List<UnionRecBean> beanList);

        void setBottomError(int code, String msg);

        void getMeetingRoom(String catalogId);

        void getMeetingSuccess(MeetingRoomBean bean);

        void getMeetingError();
    }

    interface GovernmentDetailModel {
        void getTop(String sections);

        void getMiddle(String sections);

        void getBottom(String sections);

        void getMeetingRoom(String catalogId);

    }
}
